chore(deps): update all patch dependencies #43
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v3.0.0
->v3.0.1
5.9.5
->5.9.8
2.17.4
->2.17.7
1.2.0
->1.2.2
Release Notes
pre-commit/action (pre-commit/action)
v3.0.1
: pre-commit/[email protected]Compare Source
Misc
giampaolo/psutil (psutil)
v5.9.8
Compare Source
=====
2024-01-19
Enhancements
net_connections()
_ returned list in C instead ofPython, and avoid to retrieve unnecessary connection types unless explicitly
asked. E.g., on an IDLE system with few IPv6 connections this will run around
4 times faster. Before all connection types (TCP, UDP, UNIX) were retrieved
internally, even if only a portion was returned.
Bug fixes
net_connections()
_ implementation was broken.It could either leak memory or core dump.
Process.cwd()
_ will return anempty string instead of raising
NoSuchProcess
_.cpu_freq()
now returns fixed values formin
andmax
frequencies in all Apple Silicon chips.
v5.9.7
Compare Source
=====
2023-12-17
Enhancements
raw-string-in-exception
, which helps providingclearer tracebacks when exceptions are raised by psutil.
Bug fixes
PyErr_SetExcFromWindowsErrWithFilenameObject
cPython API.v5.9.6
Compare Source
=====
2023-10-15
Enhancements
cpu_percent()
_ andcpu_times_percent()
_ are now thread safe,meaning they can be called from different threads and still return
meaningful and independent results. Before, if (say) 10 threads called
cpu_percent(interval=None)
at the same time, only 1 thread out of 10would get the right result.
Process
_ class is passed a very high PID, raiseNoSuchProcess
_instead of OverflowError. (patch by Xuehai Pan)
Process.ppid()
_ andProcess.parents()
_.ruff
Python linter instead offlake8 + isort
. It's anorder of magnitude faster + it adds a ton of new code quality checks.
Bug fixes
can't be read due to permission error. Redirect it to
PSUTIL_DEBUG
instead.
Klausner)
swap_memory()
_(patch by student_2333)
bytes2human()
utility function was unable to properly representnegative values.
disk_usage()
_ fails on Python 3.12+. (patch byMatthieu Darbois)
Process.memory_full_info()
_ may incorrectly raiseZombieProcess
_ if it's determined via/proc/pid/smaps_rollup
. Insteadwe now fallback on reading
/proc/pid/smaps
.Process.is_running()
_ erroneously returnFalse
for zombie processes, because creation time cannot be determined.ZombieProcess
_ onProcess.exe()
,Process.cmdline()
andProcess.memory_maps()
_ instead of returning a"null" value.
pre-emptively checked for
Process.nice()
_ (set),Process.ionice()
,(set),
Process.cpu_affinity()
(set),Process.rlimit()
_(set),
Process.parent()
_.Process.threads()
_ always fail with AccessDenied (also asroot).
pylint-dev/pylint (pylint)
v2.17.7
Compare Source
2.17.7 is the last release before we only support pylint 3.0.0 or superior and python 3.8 or superior.
False Positives Fixed
Fix a regression in pylint 2.17.6 / astroid 2.15.7 causing various
messages for code involving
TypeVar
.Closes #9069
Other Bug Fixes
Fix crash in refactoring checker when unary operand used with variable in for
loop.
Closes #9074
v2.17.6
Compare Source
Other Bug Fixes
When parsing comma-separated lists of regular expressions in the config,
ignore commas that are inside braces since those indicate quantifiers, not
delineation between expressions.
Closes #7229
sys.argv
is now always correctly considered as impossible to infer(instead of using the actual values given to pylint).
Closes #9047
Don't show class fields more than once in Pyreverse diagrams.
Closes #8189
Don't show arrows more than once in Pyreverse diagrams.
Closes #8522
Don't show duplicate type annotations in Pyreverse diagrams.
Closes #8888
Don't add
Optional
to|
annotations withNone
in Pyreverse diagrams.Closes #9014
v2.17.5
Compare Source
What's new in Pylint 2.17.5?
Release date: 2023-07-26
False Positives Fixed
Fix a false positive for
unused-variable
when there is an import in aif TYPE_CHECKING:
block andallow-global-unused-variables
is set tono
in the configuration.Closes #8696
Fix false positives generated when supplying arguments as
**kwargs
to IOcalls like open().
Closes #8719
Fix a false positive where pylint was ignoring method calls annotated as
NoReturn
during theinconsistent-return-statements
check.Closes #8747
Exempt parents with only type annotations from the
invalid-enum-extension
message.
Closes #8830
Other Bug Fixes
Fixed crash when a call to
super()
was placed after an operator (e.g.not
).Closes #8554
Fix crash for
modified-while-iterating
checker when deletingmembers of a dict returned from a call.
Closes #8598
Fix crash in
invalid-metaclass
check when a metaclass had duplicatebases.
Closes #8698
Avoid
consider-using-f-string
on modulos with brackets in template.Closes #8720.
Fix a crash when
__all__
exists but cannot be inferred.Closes #8740
Fix crash when a variable is assigned to a class attribute of identical name.
Closes #8754
Fixed a crash when calling
copy.copy()
without arguments.Closes #8774
Other Changes
Fix a crash when a
nonlocal
is defined at module-level.Closes #8735
dbader/schedule (schedule)
v1.2.2
Compare Source
v1.2.1
Compare Source
Configuration
📅 Schedule: Branch creation - "after 7am every weekday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.